<%@ page contentType="text/html;charset=utf-8" %>  
<HTML><BODY BGCOLOR=cyan><FONT SIZE=8>           
   <%     int i,sum=0;
          for (i=1;i<=100;i++)
          {  sum=sum+i;                         
	     }
   %>
<P> 1到100的连续和:<BR>
   <%=sum   %>
</BODY></HTML>